package com.jctrip.hotel.source.model.hmein.resp;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonProperty;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author henry
 * @Date 2023/4/14 11:26
 * @Description
 */
@Data
public class HotelFacilitiesResult extends HmeinResult {
    @JsonProperty("HotelFacilitiesList")
    private List<HotelFacilitiesList> HotelFacilitiesList;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class HotelFacilitiesList {
        @JsonProperty("HotelCd")
        private String HotelCd;
        @JsonProperty("FacilitiesList")
        private List<FacilitiesList> FacilitiesList;

    }

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class FacilitiesList {
        @JsonProperty("D_Class")
        private String D_Class;
        @JsonProperty("D_ClassList")
        private List<DClassList> D_ClassList;

    }

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class DClassList {
        @JsonProperty("D_No")
        private int D_No;
        @JsonProperty("D_Cd")
        private String D_Cd;
        @JsonProperty("D_Descript_One")
        private String D_Descript_One;
        @JsonProperty("D_Unit")
        private Object D_Unit;
        @JsonProperty("DH_Descript")
        private String DH_Descript;
    }
}
